package leetcode.D400.T309;

import util.ListUtil;

/**
 * @File Info: leetcode -- <M309>
 * @Author: 18362
 * @Create: 2022-02-22 16:15:06 星期二
 */
public class M309 {
    public static void main(String[] args) {
        int[] prices = ListUtil.parseIntArray("[1,2,3,0,2]");
        System.out.println(new Solution().maxProfit(prices));
    }
}
